<div class="main_advertisement">

    <div class="head-divide">
        <div class="head-dividetext">
            <ul>
                <li>
                  <span  aria-hidden="true">
                      <image class="trackicon" src="image/track.png" ></image>您的历史足迹：
                  </span>
                  <span ng-repeat="pagelist in pageList |limitTo:5">
                      <a ng-href="{{pagelist.url}}">{{pagelist.name}}&nbsp;&nbsp;></a>
                  </span>
                  <span ng-repeat="pagelist in pageList" ng-if="$last">
                      <a ng-href="{{pagelist.url}}">{{pagelist.name}}</a>
                  </span>
                </li>
            </ul>

        </div>
    </div>
    </div>
    <div class="main_ad_market" id="show">

        <div class="main_ad_right" ng-controller="CarouselDemoCtrl">
            <carousel interval="myInterval" no-wrap="noWrapSlides">
                <slide ng-repeat="slide in slides" active="slide.active">
                    <center>
                        <img ng-src="{{market.mPic}}" err-src="image/noimage.gif" ></center>
                    <div class="carousel-caption">
                        <p>{{slide.text}}</p>
                    </div>
                </slide>
            </carousel>
           <!-- <img src="{{market.mPic}}" err-src="image/noimage.gif" alt=""/>-->

        </div>
        <div class="main_ad_introduce">
            <div class="market_name"><span class="market_name_write">{{market.mName}}</span><span
                    ng-show="market.mBranchname!=null&&market.mBranchname!=''">({{market.mBranchname}})</span></div>
            <div class="market_address"><span class="market_address_write">{{market.mAddr}}</span></div>
            <div class="market_details">
                <div>
                    <span class="market_address_write">超市等级:</span>
                    <span class="market_name_write">{{market.mLevel}}类超市</span>
                    <span class="market_address_write">经营：</span>
                    <span class="market_name_write">{{market.mType}}</span>
                </div>
                <div>
                    <span class="market_address_write">人流量：</span>
                    <span class="market_name_write">{{market.mFlow}}次/每天</span>
                    <span class="market_address_write">屏数：</span>
                    <span class="market_name_write">{{market.mLablenum}}面</span>
                </div>
                <div>
                    <span class="market_address_write">档期：</span>
                    <span class="timeSet">
                        <span style="color: #3c763d;">开始时间</span>
                        <input class="inputTime" placeholder="请选择广告开始时间..." type="text" id="datetimepicker">
                    </span>
                    <span class="timeSet">
                        <span style="color: #3c763d;">结束时间</span>
                        <input class="inputTime" placeholder="请选择广告结束时间..." type="text" id="datetimepicker1">
                    </span>
                </div>
            </div>
           <!-- <button type="button" class="button_put btn-info" ng-click="addTime()" ui-sref="botMenu.advertisementform"  ng-class="{active:nativeId=='#/advertisementform'">立即投放</button>
-->
            <button type="button" class="button_put btn-info" ng-click="addTime()" >立即投放</button>
        </div>
    </div>
    <div class="middle_slider navbar" >
        <ul class="nav navbar-nav market_ad_hover">
            <li class="active"><a href="#">屏位展示</a></li>
            <li><a href="#">套餐介绍</a></li>
            <!--<li><a href="##">口碑</a></li>-->
        </ul>
    </div>
    <div class="market-container">
        <div class="market_map" id="admap"  ng-hide="nomap"></div>
        <div class="market_intro_one">
            <ul class="ul_intro">
                <li class="li_write"><span>{{market.mIntroduction}}</span></li>
                <li>
                    <div class="li_img"></div>
                </li>
                <li>
                    <div class="li_img" style="border-bottom: none"></div>
                </li>
                <li class="li_write"><span>永辉超市成立于1998年，总部设在福建省福州市。十年创业，飞跃发展，中国500强企业之一，是国家级“流通”及“农业产品化”双龙头企业，获取“中国驰名商标”，上海主板上市</span>
                </li>
                <li class="li_write" style="border-bottom: none"><span>永辉超市成立于1998年，总部设在福建省福州市。十年创业，飞跃发展，中国500强企业之一，是国家级“流通”及“农业产品化”双龙头企业，获取“中国驰名商标”，上海主板上市</span>
                </li>
                <li>
                    <div class="li_img"></div>
                </li>
            </ul>
        </div>
    </div>
    <ul class="market_under">
        <li class="dotted_line">
            <div class="market_title">基础版
                <button type="button" class="btn btn-primary market-example">观看案例</button>
            </div>
            <div class="market_mid_write">·能提交轮播文字<br>·能提交详情文字及二维码（url或图片）<br>·第二屏能预览效果能跟踪后续浏览量及转换率</div>
            <!--<div class="market_mid_write">观看案例</div>-->
            <div class="market_mid_write"></div>
            <!--<button type="button" class="button_put_in btn-info" ng-click="show_advert()">立即投放</button>
       -->
            <button type="button" class="button_put_in btn-info" ng-click="addTime()">立即投放</button>
        </li>
        <li class="market_middle">
            <div class="market_title">互动版
                <button type="button" class="btn btn-primary market-example">观看案例</button>
            </div>
            <div class="market_mid_write">·能提交轮播文字<br>·能提交详情文字及二维码（url或图片）<br>·第二屏能预览效果能跟踪后续浏览量及转换率</div>
            <div class="market_mid_write">·能支持H5页定制（另外收费）<br>·能代发微信卡券<br>·有一张用微信发红包的流程图及售前服务ESL轮播有卡券标示</div>
    <!--        <div class="market_mid_write">观看案例</div>-->
            <button type="button" class="button_put_in">立即投放</button>
        </li>
    </ul>
    <!--<div class="market_comment">-->
    <!--<div class="comment_left">-->
    <!--<ul>-->
    <!--<li>-->
    <!--<div class="comment_middle"><span>陈先生</span><span style="float: right">赞成(50)</span></div>-->
    <!--<div class="comment_mid_write " >·能提交轮播文字<br>·能提交详情文字及二维码（url或图片）<br>·第二屏能预览效果能跟踪后续浏览量及转换率</div>-->
    <!--</li>-->
    <!--<li>-->
    <!--<div class="comment_middle"><span>陈先生</span><span style="float: right">赞成(50)</span></div>-->
    <!--<div class="comment_mid_write " >·能提交轮播文字<br>·能提交详情文字及二维码（url或图片）<br>·第二屏能预览效果能跟踪后续浏览量及转换率</div>-->
    <!--</li>-->
    <!--<li>-->
    <!--<div class="comment_middle"><span>陈先生</span><span style="float: right">赞成(50)</span></div>-->
    <!--<div class="comment_mid_write " >·能提交轮播文字<br>·能提交详情文字及二维码（url或图片）<br>·第二屏能预览效果能跟踪后续浏览量及转换率</div>-->
    <!--</li>-->
    <!--</ul>-->
    <!--</div>-->
    <!--<div class="comment_right"><img class="comment_left_img"></div>-->
    <!--</div>-->
   <div id="qrcodecontext"
         style="position: fixed;top: 0;left: 0;bottom: 0;width: 100%;background-color: rgba(0,0,0,0.7);display: none;z-index: 2000;">

       <div ng-click="qrcodehide()" style="position: absolute;top: 100px;right: 100px;width: 25px;height: 80px;font-size: 25px;color: #fff;">关闭</div>
        <div style="width: 500px;height: 500px;background-color: white;text-align:center;padding-top: 70px;position: absolute;top:50%;
    left: 50%;-webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);"></div>
            <div id="qrcode" style="width: 300px;height: 300px;position: absolute;top:50%;
    left: 50%;-webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);"></div>
            <span>请扫描二维码付款，完成订单</span>
   </div>

    </div>
    <div id="advadd" class="adv_add">
        <div class="adv_add_bac" ng-click="addAdvHide()"></div>
        <div class="market_footer_context">
            <div class="market_footer">
                <div class="hide_adv_add" ng-click="addAdvHide()">
                    <span class="glyphicon glyphicon-remove"></span>
                </div>
                <form name="advForm" ng-submit="submit_adv(adv)">
                    <div class="footer_title">
                        <div class="market_footer_title">广告投放</div>
                    </div>
                    <div class="market_table">
                        <ul class="market_add_adv">
                            <li>
                                <span class="market_footer_span">所属类别:</span>
                                <select ng-model="adv.aType" class="market_footer_input form-control">
                                    <option ng-repeat="type in aTypeList" value="{{type.num}}">{{type.name}}</option>
                                </select>
                                <span class="market_footer_sp">0/10</span>
                            </li>
                            <li>
                                <span class="market_footer_span">名称:</span>
                                <input type="text" ng-model="adv.aName" required="" class="market_footer_input form-control">
                                <span class="required market_span" ng-hide="adv.aName.length >0">*必填项</span>
                            </li>
                            <li>
                                <span class="market_footer_span">二维码内容:</span>
                                <input type="text" ng-model="adv.aUrl" required="" class="market_footer_input form-control"
                                       placeholder="可以是文本、网址等">
                                <span class="required market_span" ng-hide="adv.aUrl.length>0">*必填项</span>
                            </li>
                            <li>
                                <span class="market_footer_span">二维码介绍:</span>
                                <input type="text" ng-model="adv.aQrcodetxt" required="" maxlength="18"
                                       class="market_footer_input form-control">
                                <span class="required market_span" ng-hide="adv.aQrcodetxt.length>0">*必填项</span>
                                <span class="market_footer_sp">{{adv.aQrcodetxt.length?adv.aQrcodetxt.length:0}}/18</span>
                            </li>
                            <li>
                                <span class="market_footer_span">简介:</span>
                                <input type="text" ng-model="adv.aHometxt" required="" maxlength="25"
                                       class="market_footer_input form-control">
                                <span class="required market_span" ng-hide="adv.aHometxt.length>0">*必填项</span>
                                <span class="market_footer_sp">{{adv.aHometxt.length?adv.aHometxt.length:0}}/25</span>
                            </li>
                            <li style="height: 70px">
                                <span class="market_footer_span">详细内容:</span>
                        		<textarea style="height: 50px" ng-model="adv.aDetailtxt" required="" maxlength="80"
                                  class="market_footer_input form-control"></textarea>
                                <span class="required market_span" ng-hide="adv.aDetailtxt.length>0">*必填项</span>
                                <span class="market_footer_sp">{{adv.aDetailtxt.length?adv.aDetailtxt.length:0}}/80</span>
                            </li>
                            <!--<li style="height: 90px">-->
                                <!--<div>-->
                                    <!--<span class="market_footer_span">首页图片:</span>-->
                                    <!--<div class="add-picture-btn" id = "add">-->
                                        <!--&lt;!&ndash;<div class="add-picture" ng-repeat="img in imgs">-->
                                            <!--<img ng-src="{{img.url}}" style="height: 100%;width: 100%" alt="">-->
                                        <!--</div>&ndash;&gt;-->
                                        <!--<div id="1" class="add-picture">-->
                                            <!--<div class="add-picture-add">+</div>-->
                                            <!--<div>添加图片</div>-->
                                            <!--<input file-model="myFile" id="input1" onchange="angular.element(this).scope().uploadFile(this,1)" class="imageUploadModule" type="file" accept="image/jpg,image/jpeg,image/bmp,image/png,image/gif">-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</div>-->
                            <!--</li>-->
                            <!--<button type="button" ng-click="addHomepic()">首页图片</button>-->

                            <li style="height: 70px">
                                <span class="market_footer_span">备注:</span>
                                <textarea ng-model="byMessage" class="market_footer_input"
                                          style="height: 60px"></textarea>
                            </li>


                            <li>
                                <span class="market_footer_span">图片:</span>
                                <div class="body-five-add-picture addPicture" id="add" ng-model="adv.aDetailpicture">
                                    <!--<form id="moduleForm" name="plateForm" ng-submit="submit('moduleCarousel',moduleCarousel)" class="formBL">-->
                                        <ul id="fk-imgContainer" class="img-container ui-sortable">
                                            <li class="img-panel J_imgPanel" ng-repeat="carousel in moduleCarousel track by $index">
                                                <div class="photo-border">
                                                    <div class="photoHover">
                                                        <img class="delete" src="image/delete.png"
                                                             ng-click="removeCarouselImg(carousel)"/>
                                                    </div>
                                                    <table>
                                                        <tbody>
                                                        <tr>
                                                            <td valign="middle">
                                                                <img class="min-image" ng-src="{{carousel.image}}"
                                                                     class="Js_lazyloadimg"
                                                                     alt="{{carousel.image.alt}}"></td>
                                                        </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </li>
                                            <li class="J_imgPanel J_moreImgPanel" id="fk-add-photo" ng-click="submit('moduleCarousel',moduleCarousel)" >
                                                <div class="add-photo fk-uploadButton">
                                                    <div class="add-photo-picture">+</div>
                                                    <div class="add-photo-text">添加图片</div>
                                                    <input class="imageUploadModule" name="carousel" type="file"
                                                           accept="image/jpg,image/jpeg,image/bmp,image/png,image/gif">
                                                </div>
                                            </li>
                                        </ul>
                                    <!--</form>-->
                                </div>
                            </li>

                        </ul>
                    </div>
                    <div class="market_button_div">
                        <button type="submit" class="btn btn-success market_button" >提交</button>
                    </div>
                <!--ng-click="submit_adv(adv)"-->
                </form>
            </div>
        </div>
    </div>
</div>
